<div wbClassName="java_wbs20001_tc">Hello1</div>
<div wbClassName="java_wbs20002_tc">Hello2</div>
<div wbClassName="web_wbs19003_sx">Hello3</div>
<div wbClassName="java_wbs19004_sx">Hello4</div>
<div wbClassName="web_wbs20005_wb">Hello5</div>
<input />
<input readonly />
<style>
    /* ^=   开头 */
    div[wbClassName^=java] {
        color: red;
    }
    /* $=   结尾 */
    div[wbClassName$=sx] {
        font-style: italic;
    }
    /* *=   包含 */
    div[wbClassName*=wbs20] {
        font-weight: bold;
    }
    /* 只要定义该属性 */
    [readonly] {
        border-color: red;
    }
</style>